package com.lovo.manage_back.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 日志表
 * @TableName t_log
 */
@TableName(value ="t_log")
@Data
public class Log implements Serializable {
    /**
     * 日志id
     */
    @TableId(value = "l_id", type = IdType.AUTO)
    private Integer id;

    /**
     * 日期
     */
    @TableField(value = "l_date")
    private LocalDateTime date;

    /**
     * 内容
     */
    @TableField(value = "l_content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "l_create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(value = "l_update_time")
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}